// 岗位查询活动表结构
const mongoose = require('../config/db')
mongoose.set('useFindAndModify', false)
const hdSchema = new mongoose.Schema({
    hd_id: String,
    hd_name: String,
    hd_xm: String,
    hd_ssdq: String,
    hd_yxtime: String,
    hd_zw: Object,
    hd_zw_filename: String,
    hd_zw_thkey: Array,
    hd_zw_thfiled: Array,
    hd_banner: String,
    hd_bodybg: String,
    hd_condition: {
        type: Array,
        default: [2, 3]
    },
    hd_xcx_path: {
        type: String,
        default: '/pages/gwcx/gwcx'
    },
    hd_cyrs: {
        type: Number,
        default: 0
    },
    hd_Collect: [{
        area: String,
        phone: String,
        zctime: String
    }],
    onShareApp_title: String,
    onShareApp_text: String,
    onShareApp_imgUrl: String
})
module.exports = mongoose.model('Job', hdSchema);